package com.rui.study.micro.template.manage.model;


import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class AddAnnDTO {

    private String annId;

    @NotBlank(message = "Can not be blank", groups = AddAnnGroup.class)
    private String subject;

    @NotBlank(message = "Can not be blank", groups = AddAnnGroup.class)
    private String content;

    @NotBlank(message = "Can not be blank", groups = AddAnnGroup.class)
    private String editorId;

    private String editAt;

    private String createAt;
}
